package friendly_link_model

import utils "hft/Http/Utils"

type FriendlyCityLinkSearch struct {
	ID int `form:"city"`
	utils.Page
}

type CityItem struct {
	ID        uint        `json:"id"`
	Name      string      `json:"name"`
	Level     int         `json:"level"`
	Districts []*CityItem `json:"children,omitempty" gorm:"column:districts"`
}
